// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "WorldEntityPart.h"

/**
 * An entity of a road/objects/object/validity
 */
class FWorldLaneValidity : public FWorldEntityPart
{

public:

	using Ptr = std::shared_ptr<FWorldLaneValidity>;
	using Super = FWorldEntityPart;

	FWorldEntityProperty< int >	FromLane;
	FWorldEntityProperty< int >	ToLane;

public:

	FWorldLaneValidity();
	FWorldLaneValidity(FWorldEntityPart* parent, const pugi::xml_node& elem);
	~FWorldLaneValidity() override;

	WORLD_ENTITY_META_DECLARE(FWorldLaneValidity)

};
